file(GLOB SOURCES *.cpp)
file(GLOB HEADERS *.h)

add_library(thread_pool STATIC ${SOURCES} ${HEADERS})

# 依赖 common（日志）和 event（可能用到 EventLoop）
target_link_libraries(thread_pool
    PRIVATE
    common
    event
    io_model
)

target_include_directories(thread_pool
    PUBLIC
    ${CMAKE_CURRENT_SOURCE_DIR}
)